package com.ys.entity.hr;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="THR_OperateCompanyRatio", catalog="Id")
public class ThrOperateCompanyRatio extends BaseEntity<ThrOperateCompanyRatio> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Guid", nameJava="guid", typeDataBase="varchar")
	private String guid;
	@YsField(nameDataBase="CreateUser", nameJava="createUser", typeDataBase="varchar")
	private String createUser;
	@YsField(nameDataBase="UpdateUser", nameJava="updateUser", typeDataBase="varchar")
	private String updateUser;
	@YsField(nameDataBase="VHks", nameJava="vHks", typeDataBase="decimal")
	private BigDecimal vHks;
	@YsField(nameDataBase="VHkBl", nameJava="vHkBl", typeDataBase="decimal")
	private BigDecimal vHkBl;
	@YsField(nameDataBase="VDpYyBl", nameJava="vDpYyBl", typeDataBase="decimal")
	private BigDecimal vDpYyBl;
	@YsField(nameDataBase="VDpFdBl", nameJava="vDpFdBl", typeDataBase="decimal")
	private BigDecimal vDpFdBl;
	@YsField(nameDataBase="VTsBl", nameJava="vTsBl", typeDataBase="decimal")
	private BigDecimal vTsBl;
	@YsField(nameDataBase="VJcBl", nameJava="vJcBl", typeDataBase="decimal")
	private BigDecimal vJcBl;
	@YsField(nameDataBase="VJcBl2", nameJava="vJcBl2", typeDataBase="decimal")
	private BigDecimal vJcBl2;
	@YsField(nameDataBase="VRule", nameJava="vRule", typeDataBase="decimal")
	private BigDecimal vRule;
	@YsField(nameDataBase="VWay", nameJava="vWay", typeDataBase="varchar")
	private String vWay;
	@YsField(nameDataBase="VExplain", nameJava="vExplain", typeDataBase="varchar")
	private String vExplain;
	@YsField(nameDataBase="iid", nameJava="iid", typeDataBase="int")
	private Integer iid;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public ThrOperateCompanyRatio setId(Long id) {
		this.id = id;
		return this;
	}
	public String getGuid() {
		return guid;
	}
	public ThrOperateCompanyRatio setGuid(String guid) {
		this.guid = guid;
		return this;
	}
	public String getCreateUser() {
		return createUser;
	}
	public ThrOperateCompanyRatio setCreateUser(String createUser) {
		this.createUser = createUser;
		return this;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public ThrOperateCompanyRatio setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
		return this;
	}
	public BigDecimal getVHks() {
		return vHks;
	}
	public ThrOperateCompanyRatio setVHks(BigDecimal vHks) {
		this.vHks = vHks;
		return this;
	}
	public BigDecimal getVHkBl() {
		return vHkBl;
	}
	public ThrOperateCompanyRatio setVHkBl(BigDecimal vHkBl) {
		this.vHkBl = vHkBl;
		return this;
	}
	public BigDecimal getVDpYyBl() {
		return vDpYyBl;
	}
	public ThrOperateCompanyRatio setVDpYyBl(BigDecimal vDpYyBl) {
		this.vDpYyBl = vDpYyBl;
		return this;
	}
	public BigDecimal getVDpFdBl() {
		return vDpFdBl;
	}
	public ThrOperateCompanyRatio setVDpFdBl(BigDecimal vDpFdBl) {
		this.vDpFdBl = vDpFdBl;
		return this;
	}
	public BigDecimal getVTsBl() {
		return vTsBl;
	}
	public ThrOperateCompanyRatio setVTsBl(BigDecimal vTsBl) {
		this.vTsBl = vTsBl;
		return this;
	}
	public BigDecimal getVJcBl() {
		return vJcBl;
	}
	public ThrOperateCompanyRatio setVJcBl(BigDecimal vJcBl) {
		this.vJcBl = vJcBl;
		return this;
	}
	public BigDecimal getVJcBl2() {
		return vJcBl2;
	}
	public ThrOperateCompanyRatio setVJcBl2(BigDecimal vJcBl2) {
		this.vJcBl2 = vJcBl2;
		return this;
	}
	public BigDecimal getVRule() {
		return vRule;
	}
	public ThrOperateCompanyRatio setVRule(BigDecimal vRule) {
		this.vRule = vRule;
		return this;
	}
	public String getVWay() {
		return vWay;
	}
	public ThrOperateCompanyRatio setVWay(String vWay) {
		this.vWay = vWay;
		return this;
	}
	public String getVExplain() {
		return vExplain;
	}
	public ThrOperateCompanyRatio setVExplain(String vExplain) {
		this.vExplain = vExplain;
		return this;
	}
	public Integer getIid() {
		return iid;
	}
	public ThrOperateCompanyRatio setIid(Integer iid) {
		this.iid = iid;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public ThrOperateCompanyRatio setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public ThrOperateCompanyRatio setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public ThrOperateCompanyRatio setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static ThrOperateCompanyRatio thrOperateCompanyRatio(
		String guid,
		String createUser,
		String updateUser,
		BigDecimal vHks,
		BigDecimal vHkBl,
		BigDecimal vDpYyBl,
		BigDecimal vDpFdBl,
		BigDecimal vTsBl,
		BigDecimal vJcBl,
		BigDecimal vJcBl2,
		BigDecimal vRule,
		String vWay,
		String vExplain,
		Integer iid,
		Integer status
			) {
		ThrOperateCompanyRatio entity = new ThrOperateCompanyRatio();
		entity.setGuid(guid);
		entity.setCreateUser(createUser);
		entity.setUpdateUser(updateUser);
		entity.setVHks(vHks);
		entity.setVHkBl(vHkBl);
		entity.setVDpYyBl(vDpYyBl);
		entity.setVDpFdBl(vDpFdBl);
		entity.setVTsBl(vTsBl);
		entity.setVJcBl(vJcBl);
		entity.setVJcBl2(vJcBl2);
		entity.setVRule(vRule);
		entity.setVWay(vWay);
		entity.setVExplain(vExplain);
		entity.setIid(iid);
		entity.setStatus(status);
		return entity;
	}
}